package han.thread;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadFactory;

import static com.han.http.util.Print.printlnInfo;

/**
 * @author: Han
 * @date: 2018/8/10 10:14
 * @dscription: 线程工厂
 */
public class CustomFactory implements ThreadFactory {

    public CustomFactory() {
        List<Thread> threadList = new ArrayList<>();
    }

    @Override
    public Thread newThread(Runnable r) {
        return new Thread(r);
    }
}
